package com.wenwenli.boot.beans;

public class BeanDefinition {
    /**
     * 原始对象
     */
    private Object target;
    /**
     * 生成的代理对象
     */
    private Object proxy;
    /**
     * bean名称
     */
    private String name;

    public BeanDefinition(Object target, Object proxy, String name) {
        this.target = target;
        this.proxy = proxy;
        this.name = name;
    }

    public Object getTarget() {
        return target;
    }

    public Object getProxy() {
        return proxy;
    }

    public String getName() {
        return name;
    }
}
